home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
allmac21.arc
/
FILE12.ARC
/
FILE12.QM
< prev
next >
Wrap
Text File
|
1990-08-27
|
5KB
|
100 lines
* FileManager v1.2
* FILE12.QM
*
* See FILE.DOC for Requirements and Running Instructions.
* Version History:
*
* 1.0 - Initial version named SORT10.ZIP
* 1.1 - changed and shortened Alt-f3 to keep extraneous files
* from ring
* - Changed file names from SORTxxx.xxx to FILExxx.xxx.
* 1.2 - DX Directory Extended not included to save download time.
*┌───────────────────────────────────────────────────────────────────┐
*│@f1 Selects file to LOAD from sorted list of files in directory │
*└───────────────────────────────────────────────────────────────────┘
* Does not read macfile if txtfile selected.
*
@f1 macrobegin
editfile "file.srt" return * load file.srt
begline
pause * select sort type
markblockbegin endline markblockend
copy * copy word to scrap
dos "file-DX " paste return return * sort directory
editfile "j:$" return quit * load sorted directory
editfile "j:$" return *
cursordown return * insert blank line
pause * pause to select
markword copy * select txtfile
quit * quit j:$
editfile paste ".qm" return quit * load txtfile
editfile paste ".qm" return *
*
* 90 bytes Sat 07-28-1990 15:22:10
*┌───────────────────────────────────────────────────────────────────┐
*│@f2 Selects macfile to READ from sorted list of files in directory │
*└───────────────────────────────────────────────────────────────────┘
* Also loads txtfile of macfile selected.
*
@f2 macrobegin
dos "file-DX mac d-" return return * sort macfiles by date
* dos "file-DX mac n" return return * sort macfiles by name
editfile "j:$" return quit * load sorted directory
editfile "j:$" return *
cursordown return * insert blank line
pause * pause to select
markword copy * select macfile
quit * quit j:$
editfile paste ".qm" return quit * load txtfile
editfile paste ".qm" return *
macroread paste ".mac" return * read macfile
*
* 88 bytes Sat 07-28-1990 15:22:27
*┌───────────────────────────────────────────────────────────────────┐
*│@f3 Selects file to DELETE from sorted list of files in directory │
*└───────────────────────────────────────────────────────────────────┘
* Be careful to select only the file you want deleted. Start by first
* selecting only "bak" to delete. You may want to make some dummy backup
* files such as 1.bak, 2.bak,.....etc to try this macro.
*
*
@f3 macrobegin
unmarkblock insertline * insert blank line
markcolumn currentfilename markcolumn * mark currentfilename
storescrbuff "1" return delline * store filename/scrbf 1
editfile "file.srt" return *
pause * pause to select sort
markblockbegin endline markblockend copy * copy sort selected
paste * paste selected line
begline markword * mark filext
storescrbuff "2" return * store filext/scrbf 2
quit * quit after paste/mark
dos "file-DX.bat " paste return return * sort directory
editfile "j:$" return quit * load sorted directory
editfile "j:$" return *
cursordown return * insert blank line
pause * pause to select file
markword copy * select file name
insertline * insert line in j:$
paste * paste file name
endline "." getscrbuff "2" return * paste "file.ext"
markline copy * copy "file.ext"
dos "del " paste return return * del "file.ext"
insertline * insert line in j:$
getscrbuff "1" return * get currentfilename
copy * copy currentfilename
quit * quit j:$
editfile paste return * edit currentfilename
*
* 128 bytes Sat 07-28-1990 15:22:43
*
*
*..Tom Hogshead Mon 07-30-1990 01:51:49